package com.learnyou.server.xingzuo.dto.resultDTO;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class GuardianListResultDTO {

    private String id;

    @ApiModelProperty(value = "学生ID")
    private String studentId;

    @ApiModelProperty(value = "监护人姓名")
    private String guardianName;

    @ApiModelProperty(value = "监护人性别")
    private String guardianGender;

    @ApiModelProperty(value = "监护人电话")
    private String guardianPhone;

    @ApiModelProperty(value = "和学生的关系")
    private String guardianRelation;

    @ApiModelProperty(value = "是否绑定")
    private boolean hasBind;

    @ApiModelProperty(value = "绑定时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date bindDate;

}
